{% extends "template/detailEdit.volt" %}


{% block jscontent %}
    <script>
        $(function () {

            DetailEditor.init({
                "actionDelete": function (key,value) {

                },
                "actionUpdate": function (params) {

                    $.post("/subsystem/doMonitorUpdate", params, function (result) {

                        if (result.status == 0) {
                            DetailEditor.updateEditStatus(false);
                        }
                        FAlert(result.message);
                    });
                }
            });
        })
    </script>
{% endblock %}